project(MQTTClient C)
message(STATUS "CMakeVersion:"${CMAKE_VERSION})
message(STATUS "CMake system name:"${CMAKE_SYSTEM_NAME})
message(STATUS "CMake system processor:"${CMAKE_SYSTEM_PROCESSOR})

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
add_executable(mqttClient mqttClient.c)

target_include_directories(mqttClient PRIVATE /home/lux/Downloads/MQTT/paho.mqtt.c-1.3.8/_install/include)
target_link_directories(mqttClient PRIVATE /home/lux/Downloads/MQTT/paho.mqtt.c-1.3.8/_install/lib)

target_link_libraries(mqttClient PRIVATE paho-mqtt3c)

